package org.ccunix.eshop.service.impl;

import org.ccunix.eshop.dao.CategoryDao;
import org.ccunix.eshop.domain.dto.CategoryVO;
import org.ccunix.eshop.service.CategoryServiceIface;

import java.lang.invoke.CallSite;
import java.util.List;

/**
 * 接口的实现
 */
public class CategoryServiceImpl implements CategoryServiceIface {
    CategoryDao categoryDao = new CategoryDao();

    @Override
    public List<CategoryVO> getCategoryList() {
        return categoryDao.selectCategoryList();
    }
}
